/* New prog to select common AMIGA ECS diagnostics */
DEF pw,a,b,c,x,y,t,more
PROC main()
SetTopaz(8)
REPEAT
a:=ecsdiagnosis('What is the primary characterist of the problem:','Blank Screen|Graphics|Ports|Mouse|Floppy|Other|Quit',0)
SELECT a
CASE 0
more:=0
CASE 1
b:=ecsdiagnosis('What is the screen color?','Black|Green|White|Red',0)
SELECT b
CASE 1
more:=ecsdiagnosis('BLACK SCREEN: M68000, Agnus, Power Supply\n X1 28.636 Oscillator Crystal\n','More|Quit',0)
CASE 2
more:=ecsdiagnosis('GREEN SCREEN: Agnus, Gary, Dynamic Rams, Agnus Socket\n A501 or similar expansion, Ram on motherboard\n (If any ram is too hot to touch, it is bad\n','More|Quit',0)
more:=ecsdiagnosis('RED SCREEN: Bad ROM Chip\n','More|Quit',0)
ENDSELECT /* Select for Screen colour */
CASE 2
b:=ecsdiagnosis('What is the graphics problem?','Screen Breaks Up|Double Click Icons|No Sync|Bad Colour|No Video',0)
SELECT b
CASE 1
more:=ecsdiagnosis('SCREEN BREAKS up after 15-30 minutes: Agnus, Denise\n Agnus Socket Is Cracked','More|Quit',0)
CASE 2
more:=ecsdiagnosis('SYSTEM LOCKS up when DOUBLE CLICKING on an icon:\n Agnus, Denise, U7 8520 CIA(U300), U37 74LS32(U302)','More|Quit',0)
CASE 3
more:=ecsdiagnosis('NO SYNCHRONIZATION: Agnus, U41 74HCT245 (74HCT244(U205) on an A2000)','More|Quit',0)
CASE 4
more:=ecsdiagnosis('BAD COLOURS: Denise, Video Hybrid\n U40-U41 74HCT245 (74HCT244(U205-U206) in an A2000)','More|Quit',0)
CASE 0
more:=ecsdiagnosis('NO VIDEO(Black Screen): R405,R406 4.7ohm Resistor, Denise\n Video Hybrid, U40-U41 74HCT245 (74HCT244(U205-U206) in an A2000)','More|Quit',0)
ENDSELECT
CASE 3
b:=ecsdiagnosis('What seems to be the problem:','No Printer|Bad Printer|Modem Send|Modem Receive',0)
more:=ecsdiagnosis('A2000 DF1: not recognized: 8520 CIA U301, 74F00 U900, 74LS74 U108\n J301 is OPEN(must be closed to recognize DF1:)','More|Quit',0)
ENDSELECT
CASE 6
b:=ecsdiagnosis('Other problems may, or may not, be found here:','Audio|Keyboard Flashes|No Keyboard Reset|Other Keyboard',0)
SELECT b
CASE 1
more:=ecsdiagnosis('AUDIO problems may be caused by any of the following:\n Paula\n LF347/TL084 OP-amp U14(U204)\n Q331 or Q321 FET(Q200 or Q201)\n CN3 or CN4 Cold soldier connection(CN204 or CN205)\n EMI 1303 or 1302(R243 or R233 1k ohm)\n Or maybe just a bad external RCA cable?','More|Quit',0)
CASE 2
more:=ecsdiagnosis('KEYBOARD flashes:\n 1 or 2 flashes is a bad 6570-036 controller\n 3 flashes is a bad 555/74ls123/74ls27','More|Quit',0)